<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <script src="https://unpkg.com/vue@next"></script>
  <link rel="stylesheet" href="index.css">
</head>
<body>
  <div class="a">
  <h4 class='b' style="color:red;">个人基本信息</h4>
  <div id="counter" style="width:225px;">
    <h2 class="per">{{persional}}</h2>
    <p><span>姓名:</span>{{name}}</p>
    <p><span>年龄:</span>{{age}}</p>
    <p><span>兴趣爱好:</span>{{hib}}</p>
    <p><span>专业:</span>{{career}}</p>
  </div>
</div>
</body>
<script src="https://unpkg.com/vue@next"></script>
<script>
const Counter = {
  data(){
    return{
      name:"陈某",
      age:"20",
      hib:"吃饭睡觉打游戏",
      career:"计算机"
    }
  }
}
Vue.createApp(Counter).mount('#counter')
</script>
</html>